home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / graphsvr.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  14.0 KB  |  330 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'GraphSvr.pas' rev: 3.00
  6.  
  7. #ifndef GraphSvrHPP
  8. #define GraphSvrHPP
  9. #include <Menus.hpp>
  10. #include <Controls.hpp>
  11. #include <OleCtrls.hpp>
  12. #include <Graphics.hpp>
  13. #include <Classes.hpp>
  14. #include <OleCtl.hpp>
  15. #include <OLE2.hpp>
  16. #include <SysInit.hpp>
  17. #include <System.hpp>
  18.  
  19. //-- user supplied -----------------------------------------------------------
  20.  
  21. namespace Graphsvr
  22. {
  23. //-- type declarations -------------------------------------------------------
  24. class DELPHICLASS TGraphicsServer;
  25. class PASCALIMPLEMENTATION TGraphicsServer : public Olectrls::TOleControl 
  26. {
  27.     typedef Olectrls::TOleControl inherited;
  28.     
  29. private:
  30.     short __stdcall Get_Color(short index);
  31.     void __stdcall Set_Color(short index, short Value);
  32.     float __stdcall Get_Data(short index);
  33.     void __stdcall Set_Data(short index, float Value);
  34.     short __stdcall Get_Extra(short index);
  35.     void __stdcall Set_Extra(short index, short Value);
  36.     short __stdcall Get_FFamily(short index);
  37.     void __stdcall Set_FFamily(short index, short Value);
  38.     short __stdcall Get_FSize(short index);
  39.     void __stdcall Set_FSize(short index, short Value);
  40.     short __stdcall Get_FStyle(short index);
  41.     void __stdcall Set_FStyle(short index, short Value);
  42.     System::AnsiString __stdcall Get_Label_(short index);
  43.     void __stdcall Set_Label_(short index, const System::AnsiString Value);
  44.     System::AnsiString __stdcall Get_Legend(short index);
  45.     void __stdcall Set_Legend(short index, const System::AnsiString Value);
  46.     short __stdcall Get_Pattern(short index);
  47.     void __stdcall Set_Pattern(short index, short Value);
  48.     short __stdcall Get_Symbol(short index);
  49.     void __stdcall Set_Symbol(short index, short Value);
  50.     float __stdcall Get_XPos(short index);
  51.     void __stdcall Set_XPos(short index, float Value);
  52.     
  53. protected:
  54.     virtual void __fastcall InitControlData(void);
  55.     
  56. public:
  57.     HIDESBASE void __stdcall Refresh(void);
  58.     void __stdcall AboutBox(void);
  59.     __property System::Variant Picture = {read=GetVariantProp, write=SetVariantProp, index=35};
  60.     __property System::AnsiString QuickData = {read=GetStringProp, write=SetStringProp, index=37};
  61.     __property short SeeThru = {read=GetSmallintProp, write=SetSmallintProp, index=39, nodefault};
  62.     __property short Color[short index] = {read=Get_Color, write=Set_Color};
  63.     __property float Data[short index] = {read=Get_Data, write=Set_Data};
  64.     __property short Extra[short index] = {read=Get_Extra, write=Set_Extra};
  65.     __property short FFamily[short index] = {read=Get_FFamily, write=Set_FFamily};
  66.     __property short FSize[short index] = {read=Get_FSize, write=Set_FSize};
  67.     __property short FStyle[short index] = {read=Get_FStyle, write=Set_FStyle};
  68.     __property System::AnsiString Label_[short index] = {read=Get_Label_, write=Set_Label_};
  69.     __property System::AnsiString Legend[short index] = {read=Get_Legend, write=Set_Legend};
  70.     __property short Pattern[short index] = {read=Get_Pattern, write=Set_Pattern};
  71.     __property short Symbol[short index] = {read=Get_Symbol, write=Set_Symbol};
  72.     __property float XPos[short index] = {read=Get_XPos, write=Set_XPos};
  73.     
  74. __published:
  75.     __property TabStop ;
  76.     __property DragCursor ;
  77.     __property DragMode ;
  78.     __property ParentShowHint ;
  79.     __property PopupMenu ;
  80.     __property ShowHint ;
  81.     __property TabOrder ;
  82.     __property Visible ;
  83.     __property OnDragDrop ;
  84.     __property OnDragOver ;
  85.     __property OnEndDrag ;
  86.     __property OnEnter ;
  87.     __property OnExit ;
  88.     __property OnStartDrag ;
  89.     __property OnClick ;
  90.     __property OnDblClick ;
  91.     __property OnKeyDown ;
  92.     __property OnKeyPress ;
  93.     __property OnKeyUp ;
  94.     __property OnMouseDown ;
  95.     __property OnMouseMove ;
  96.     __property OnMouseUp ;
  97.     __property Olectrls::TOleEnum AutoInc = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, index=1
  98.         , nodefault};
  99.     __property Olectrls::TOleEnum Background = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
  100.         , index=2, nodefault};
  101.     __property System::AnsiString BottomTitle = {read=GetStringProp, write=SetStringProp, stored=false, 
  102.         index=3};
  103.     __property Olectrls::TOleEnum ColorData = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, 
  104.         index=4, nodefault};
  105.     __property System::AnsiString CtlVersion = {read=GetStringProp, write=SetStringProp, stored=false, 
  106.         index=5};
  107.     __property Olectrls::TOleEnum DataReset = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, 
  108.         index=6, nodefault};
  109.     __property Olectrls::TOleEnum DrawMode = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, 
  110.         index=7, nodefault};
  111.     __property Olectrls::TOleEnum DrawStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, 
  112.         index=8, nodefault};
  113.     __property short ExtraData = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=9, nodefault
  114.         };
  115.     __property Olectrls::TOleEnum FontFamily = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
  116.         , index=10, nodefault};
  117.     __property short FontSize = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=11, nodefault
  118.         };
  119.     __property Olectrls::TOleEnum FontStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, 
  120.         index=12, nodefault};
  121.     __property Olectrls::TOleEnum FontUse = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, index=13
  122.         , nodefault};
  123.     __property Olectrls::TOleEnum Foreground = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
  124.         , index=14, nodefault};
  125.     __property System::AnsiString GraphCaption = {read=GetStringProp, write=SetStringProp, stored=false
  126.         , index=15};
  127.     __property float GraphData = {read=GetSingleProp, write=SetSingleProp, stored=false, index=16};
  128.     __property short GraphStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=17, 
  129.         nodefault};
  130.     __property System::AnsiString GraphTitle = {read=GetStringProp, write=SetStringProp, stored=false, 
  131.         index=18};
  132.     __property Olectrls::TOleEnum GraphType = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, 
  133.         index=19, nodefault};
  134.     __property Olectrls::TOleEnum GridStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, 
  135.         index=20, nodefault};
  136.     __property System::AnsiString ImageFile = {read=GetStringProp, write=SetStringProp, stored=false, index=21
  137.         };
  138.     __property Olectrls::TOleEnum IndexStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
  139.         , index=22, nodefault};
  140.     __property short LabelEvery = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=23, 
  141.         nodefault};
  142.     __property Olectrls::TOleEnum Labels = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, index=24
  143.         , nodefault};
  144.     __property System::AnsiString LabelText = {read=GetStringProp, write=SetStringProp, stored=false, index=25
  145.         };
  146.     __property System::AnsiString LeftTitle = {read=GetStringProp, write=SetStringProp, stored=false, index=26
  147.         };
  148.     __property Olectrls::TOleEnum LegendStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
  149.         , index=27, nodefault};
  150.     __property System::AnsiString LegendText = {read=GetStringProp, write=SetStringProp, stored=false, 
  151.         index=28};
  152.     __property Olectrls::TOleEnum LineStats = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, 
  153.         index=29, nodefault};
  154.     __property short NumPoints = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=30, 
  155.         nodefault};
  156.     __property short NumSets = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=31, nodefault
  157.         };
  158.     __property Olectrls::TOleEnum Palette = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, index=32
  159.         , nodefault};
  160.     __property short PatternData = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=33
  161.         , nodefault};
  162.     __property Olectrls::TOleEnum PatternedLines = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
  163.         , index=34, nodefault};
  164.     __property Olectrls::TOleEnum PrintStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
  165.         , index=36, nodefault};
  166.     __property Olectrls::TOleEnum RandomData = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
  167.         , index=38, nodefault};
  168.     __property Olectrls::TOleEnum SymbolData = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
  169.         , index=40, nodefault};
  170.     __property Olectrls::TOleEnum ThickLines = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
  171.         , index=41, nodefault};
  172.     __property short ThisPoint = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=42, 
  173.         nodefault};
  174.     __property short ThisSet = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=43, nodefault
  175.         };
  176.     __property short TickEvery = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=44, 
  177.         nodefault};
  178.     __property Olectrls::TOleEnum Ticks = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, index=45
  179.         , nodefault};
  180.     __property float XPosData = {read=GetSingleProp, write=SetSingleProp, stored=false, index=46};
  181.     __property float YAxisMax = {read=GetSingleProp, write=SetSingleProp, stored=false, index=47};
  182.     __property float YAxisMin = {read=GetSingleProp, write=SetSingleProp, stored=false, index=48};
  183.     __property Olectrls::TOleEnum YAxisPos = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, 
  184.         index=49, nodefault};
  185.     __property Olectrls::TOleEnum YAxisStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
  186.         , index=50, nodefault};
  187.     __property short YAxisTicks = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=51, 
  188.         nodefault};
  189.     __property Word Enabled = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=-514, nodefault
  190.         };
  191.     __property Olectrls::TOleEnum BorderStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
  192.         , index=-504, nodefault};
  193.     __property int hWnd = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=-515, nodefault
  194.         };
  195. public:
  196.     /* TOleControl.Create */ __fastcall virtual TGraphicsServer(Classes::TComponent* AOwner) : Olectrls::
  197.         TOleControl(AOwner) { }
  198.     /* TOleControl.Destroy */ __fastcall virtual ~TGraphicsServer(void) { }
  199.     
  200. public:
  201.     /* TWinControl.CreateParented */ __fastcall TGraphicsServer(HWND ParentWindow) : Olectrls::TOleControl(
  202.         ParentWindow) { }
  203.     
  204. };
  205.  
  206. //-- var, const, procedure ---------------------------------------------------
  207. #define gphOff (Byte)(0)
  208. #define gphOn (Byte)(1)
  209. #define gphBlack (Byte)(0)
  210. #define gphBlue (Byte)(1)
  211. #define gphGreen (Byte)(2)
  212. #define gphCyan (Byte)(3)
  213. #define gphRed (Byte)(4)
  214. #define gphMagenta (Byte)(5)
  215. #define gphBrown (Byte)(6)
  216. #define gphLightGray (Byte)(7)
  217. #define gphDarkGray (Byte)(8)
  218. #define gphLightBlue (Byte)(9)
  219. #define gphLightGreen (Byte)(10)
  220. #define gphLightCyan (Byte)(11)
  221. #define gphLightRed (Byte)(12)
  222. #define gphLightMagenta (Byte)(13)
  223. #define gphYellow (Byte)(14)
  224. #define gphWhite (Byte)(15)
  225. #define gphNone (Byte)(0)
  226. #define gphGraphData (Byte)(1)
  227. #define gphColorData (Byte)(2)
  228. #define gphExtraData (Byte)(3)
  229. #define gphLabelText (Byte)(4)
  230. #define gphLegendText (Byte)(5)
  231. #define gphPatternData (Byte)(6)
  232. #define gphSymbolData (Byte)(7)
  233. #define gphXPosData (Byte)(8)
  234. #define gphAllData (Byte)(9)
  235. #define gphFontInfo (Byte)(10)
  236. #define gphNoAction (Byte)(0)
  237. #define gphClear (Byte)(1)
  238. #define gphDraw (Byte)(2)
  239. #define gphBlit (Byte)(3)
  240. #define gphCopy (Byte)(4)
  241. #define gphPrint (Byte)(5)
  242. #define gphWrite (Byte)(6)
  243. #define gphMonochrome (Byte)(0)
  244. #define gphColor (Byte)(1)
  245. #define gphRoman (Byte)(0)
  246. #define gphSwiss (Byte)(1)
  247. #define gphModern (Byte)(2)
  248. #define gphDefault (Byte)(0)
  249. #define gphItalic (Byte)(1)
  250. #define gphBold (Byte)(2)
  251. #define gphBoldItalic (Byte)(3)
  252. #define gphUnderlined (Byte)(4)
  253. #define gphUnderlinedItalic (Byte)(5)
  254. #define gphUnderlinedBold (Byte)(6)
  255. #define gphUnderlinedBoldItalic (Byte)(7)
  256. #define gphGraphTitle (Byte)(0)
  257. #define gphOtherTitles (Byte)(1)
  258. #define gphLabels (Byte)(2)
  259. #define gphLegend (Byte)(3)
  260. #define gphAllText (Byte)(4)
  261. #define gphAutoBlackWhite (Byte)(16)
  262. #define gphPie2D (Byte)(1)
  263. #define gphPie3D (Byte)(2)
  264. #define gphBar2D (Byte)(3)
  265. #define gphBar3D (Byte)(4)
  266. #define gphGantt (Byte)(5)
  267. #define gphLine (Byte)(6)
  268. #define gphLogLin (Byte)(7)
  269. #define gphArea (Byte)(8)
  270. #define gphScatter (Byte)(9)
  271. #define gphPolar (Byte)(10)
  272. #define gphHLC (Byte)(11)
  273. #define gphHorizontal (Byte)(1)
  274. #define gphVertical (Byte)(2)
  275. #define gphBoth (Byte)(3)
  276. #define gphStandard (Byte)(0)
  277. #define gphEnhanced (Byte)(1)
  278. #define gphXAxisLabelsOnly (Byte)(2)
  279. #define gphYAxisLabelsOnly (Byte)(3)
  280. #define gphMean (Byte)(1)
  281. #define gphMinmax (Byte)(2)
  282. #define gphMeanMinmax (Byte)(3)
  283. #define gphStddev (Byte)(4)
  284. #define gphStddevMean (Byte)(5)
  285. #define gphStddevMinmax (Byte)(6)
  286. #define gphStddevMinmaxMean (Byte)(7)
  287. #define gphBestfit (Byte)(8)
  288. #define gphBestfitMean (Byte)(9)
  289. #define gphBestfitMinmax (Byte)(10)
  290. #define gphBestfitMinmaxMean (Byte)(11)
  291. #define gphBestfitStddev (Byte)(12)
  292. #define gphBestfitStddevMean (Byte)(13)
  293. #define gphBestfitStddevMinmax (Byte)(14)
  294. #define gphAll (Byte)(15)
  295. #define gphPastel (Byte)(1)
  296. #define gphGrayscale (Byte)(2)
  297. #define gphPatternOff (Byte)(0)
  298. #define gphPatternOn (Byte)(1)
  299. #define gphMonochromeWithBorder (Byte)(2)
  300. #define gphColorWithBorder (Byte)(3)
  301. #define gphCrossPlus (Byte)(0)
  302. #define gphCrossTimes (Byte)(1)
  303. #define gphTriangleUp (Byte)(2)
  304. #define gphSolidTriangleUp (Byte)(3)
  305. #define gphTriangleDown (Byte)(4)
  306. #define gphSolidTriangleDown (Byte)(5)
  307. #define gphSquare (Byte)(6)
  308. #define gphSolidSquare (Byte)(7)
  309. #define gphDiamond (Byte)(8)
  310. #define gphSolidDiamond (Byte)(9)
  311. #define gphLinesOff (Byte)(0)
  312. #define gphLinesOn (Byte)(1)
  313. #define gphTicksOff (Byte)(0)
  314. #define gphTicksOn (Byte)(1)
  315. #define gphXAxisTicksOnly (Byte)(2)
  316. #define gphYAxisTicksOnly (Byte)(3)
  317. #define gphAlignLeft (Byte)(1)
  318. #define gphAlignRight (Byte)(2)
  319. #define gphVariableOrigin (Byte)(1)
  320. #define gphUserDefined (Byte)(2)
  321. #define gphFixedSingle (Byte)(1)
  322. extern PACKAGE void __fastcall Register(void);
  323.  
  324. }    /* namespace Graphsvr */
  325. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  326. using namespace Graphsvr;
  327. #endif
  328. //-- end unit ----------------------------------------------------------------
  329. #endif    // GraphSvr
  330.